package com.mandao.oneplat.boot.mvc.view;

import com.mandao.oneplat.boot.mvc.control.EOneCOntrolUriMode;

/**
 * Created by sunson on 2017/3/21.
 */
public class OneView {
    private EOneCOntrolUriMode uriMode;
    private String viewName;

    public OneView(String viewName) {
        this(EOneCOntrolUriMode.HTML, viewName);
    }

    public OneView(EOneCOntrolUriMode uriMode, String viewName) {
        super();
        this.uriMode = uriMode;
        this.viewName = viewName;
    }

    public EOneCOntrolUriMode getUriMode() {
        return uriMode;
    }

    public void setUriMode(EOneCOntrolUriMode uriMode) {
        this.uriMode = uriMode;
    }

    public String getViewName() {
        return viewName;
    }

    public void setViewName(String viewName) {
        this.viewName = viewName;
    }
}
